package com.system.honour;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@MapperScan(basePackages = "com.system.honour.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)	//开启基于注解的权限(默认是关闭的)
public class HonourApplication {

	public static void main(String[] args) {
		SpringApplication.run(HonourApplication.class, args);
	}

}
